<?php

namespace App\Http\Controllers\Admin;

use Illuminate\Http\Request;
use App\Http\Requests\Admin\AdminUserRequest;
use App\Models\AdminUser;
use App\Models\Role;
use App\Models\Auth;
use App\Services\Qrcode\SimpleQrcode;
use App\Services\Machine\OutGoods;
use App\Events\WeChatNoticeEvent;
use App\Models\Orders;
use App\Models\CouterOrder;

class TestController extends Controller
{

    public function test(SimpleQrcode $qr)
    {
    	// $order = new Orders;
    	// $orders = $order->get();
    	// foreach ($orders as $key => $value) {
    	// 	$couter = CouterOrder::where('order_id',$value->id)->first();
    	// 	$value->couter_id = $couter->couter_id;
    	// 	$value->save();
    	// }

    	// event(new WeChatNoticeEvent('o0yEf6fDkUCYge63XH28jb7JFxQE',"\ue04a"));
       	// $out_goods = new OutGoods();
		// $out_goods->outGoods('HRC_202012271127495873',1,'862167056711215000');
    }
}
